/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.OpenClosedPViolation.Impl;

/**
 *
 * @author Leo
 */
public class AccType { 

    private double balance;

     public AccType() {
         
     }
       
    public void deposit(double amnt) {
        balance = balance +amnt;
    }

    public double getBalance() {
        return balance;
    }
    
    
}

